@extends('layouts.admin')
@section('content')
{{--面包屑导航开始--}}
    <div class="crumb_warp">
        <i class="fa fa-home"></i><a href="{{url('admin/info')}}">首页</a> &raquo; 修改密码

    </div>
{{--面包导航结束--}}

    <div class="result_wrap">
        <div class="result_title"><h5>修改密码</h5>
            {{--打印错误信息--}}
            @if(count($errors)>0)
                <div class="mark">
                    @foreach($errors->all() as $error)
                        <p> {{$error}}</p>
                    @endforeach
                </div>
            @endif
        </div>
    </div>

    <div class="result_wrap">
        <form method="post" action="">
             {{csrf_field()}}
            <table>
                <tbody>
                 <tr>
                     <th width="120"><i class="require">*</i>原密码：</th>
                     <td>
                         <input type="password" name="password_o"/><span>请输入原始密码</span>
                     </td>
                 </tr>
                 <tr>
                     <th><i class="require">*</i>新密码：</th>
                     <td>
                         <input type="password" name="password"/><span>新密码6-20位</span>
                     </td>
                 </tr>
                 <tr>
                     <th><i class="require">*</i>确认密码：</th>
                     <td>
                         <input type="password" name="password_confirmation"/><span>再次输入密码</span>
                     </td>
                 </tr>
                 <tr>
                     <th></th>
                    <td>
                        <input type="submit" value="提交">
                        <input type="button" class="back" onclick="history.go(-1)" value="返回">
                    </td>
                 </tr>
                </tbody>
            </table>
        </form>

    </div>
@endsection